* doc-view.el (doc-view-new-window-function): Check the new window
authorTassilo Horn <tsdh@gnu.org>
Mon, 18 Mar 2013 07:41:38 +0000 (08:41 +0100)
committerTassilo Horn <tsdh@gnu.org>
Mon, 18 Mar 2013 07:41:38 +0000 (08:41 +0100)
commit4bc40f8f4e8017ce44e1a9e6c0f2398f756cd615
treebd96620c9a0d1c3962b4a4c3f02fe1c348830db8
parent1e29a19041c625326581c90f626f1928419c2bca
* doc-view.el (doc-view-new-window-function): Check the new window
overlay's display property instead the char property of the
buffer's first char.  Use `with-selected-window' instead of
`save-window-excursion' with `select-window'.
(doc-view-document->bitmap): Check the current doc-view overlay's
display property instead the char property of the buffer's first
char.
lisp/ChangeLog
lisp/doc-view.el